package top.kaoshanji.p2ch18a.support;

import java.util.TimerTask;

/**
 * author kaoshanji
 * ^_^
 * create time 2025/2/27 17:20
 */
public class LoopTask extends TimerTask {

    @Override
    public void run() {
        while (true) {
            try {
                // ... 执行任务
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                /// ///
            }
        }
    }

}
